Error Query [SELECT count(ID) as cnt FROM wp_posts WHERE post_type = 'post' ORDER BY post_date DESC]