Error:Query error:SELECT COUNT(*) AS count FROM `content` WHERE type=