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 'R AND r.reviews_id = rd.reviews_id ' at line 1
in:
[select count(*) as total FROM reviews r, reviews_description rd WHERE r.products_id = 385 R AND r.reviews_id = rd.reviews_id AND rd.languages_id = 1 and r.status = 1 ]