I heard the voice of many angels round about the throne and the beasts and the elders: and the number of them was ten thousand times ten thousand. Revelation 5:11
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 comment_approved=1' at line 1--select count(*) as count from comments where entity_type='topics' and entity_id= and comment_approved=1