wp_count_posts bug fix§