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 ') and r.date_added > '2014-12-31' and r.reviews_rating > 2 and rd.languages_id=1' at line 2
in:
[select count(r.reviews_id) as total from reviews_description AS rd LEFT JOIN reviews AS r ON(rd.reviews_id = r.reviews_id) WHERE r.products_id in (30862,30862,35194,35194,36623,36623,36627,36627,36630,36630,36653,36653,36673,36673,36695,36695,36700,36700,36706,36706,36724,36724,36733,36733,36737,36737,36747,36747,36750,36750,36764,36764,36785,36785,36788,36788,36796,36796,36862,36862,36868,36868,36869,36869,36870,36870,36871,36871,36872,36872,36873,36873,36874,36874,36875,36875,36876,36876,36877,36877,36878,36878,36879,36879,36995,36995,39290,39290,39388,39388,39648,39648,39658,39658,39661,39661,40141,40141,49058,49058,64249) and (r.country_id in() and r.date_added > '2014-12-31' and r.reviews_rating > 2 and rd.languages_id=1 or rd.languages_id=2) AND r.status = 1 AND r.check_status=1 and r.reviews_rating = 1]