SELECT COUNT(*) AS total FROM emlog_blog WHERE type='blog' and date<=1776369407 and hide='n' and checked='y' and gid IN (341,394,676,706,1449,1876,2060,3187,3383,5329,6083,6863,6898,7306,7396,9073,9517,9708,9980,11321,12990,13677,13684,13707,14895,16126,16961,20095,21215,21227,21357,21443,23558,23990,24726,26361,27763,28230,28499,28794,29675,31354,31854,31855,32317,32521,341341,341,)
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