SELECT COUNT(*) AS total FROM emlog_blog WHERE type='blog' and date<=1770733914 and hide='n' and checked='y' and gid IN (1014,3447,3451,3955,4065,4105,4145,4160,4215,4357,4392,4402,4422,4666,4680,4751,4907,4911,4937,5126,5171,5197,5210,5235,5241,5249,5251,5409,5437,5544,5588,5589,5686,5691,5696,5703,5720,5752,6364,6437,6471,6584,6675,6880,7240,7346,7560,7736,7767,7957,8151,9286,9661,9772,9773,9960,10019,10473,5100351222,)
error: 1064 , You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 1