bugfix in count_posts

The function shows now all posts count, because the posts_per_page -
parameter for wp_query is now set to -1