Invalid query: SELECT COUNT(*) AS rows FROM gamed_content WHERE type=2 AND active_cs=1

Error: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'rows FROM gamed_content WHERE type=2 AND active_cs=1' at line 1