SELECT COUNT ( * ) FROM `wp_posts` WHERE ( ( `post_type` = ? AND ( `post_status` = ? ) ) OR ( `post_type` = ? AND ( `post_status` = ? ) ) OR ( `post_type` = ? AND ( `post_status` = ? ) ) OR ( `post_type` = ? AND ( `post_status` = ? ) ) OR ( `post_type` = ? AND ( `post_status` = ? ) ) OR ( `post_type` = ? AND ( `post_status` = ? ) ) OR ( `post_type` = ? AND ( `post_status` = ? ) ) OR ( `post_type` = ? AND ( `post_status` = ? ) ) OR ( `post_type` = ? AND ( `post_status` = ? ) ) OR ( `post_type` = ? AND ( `post_status` = ? ) ) OR ( `post_type` = ? AND ( `post_status` = ? ) ) ) AND `post_author` = ? 