No longer do an custom query to count posts, the wp_count_posts() function should be quicker.
Exclude an PEAR sniff.
Getting ready for version 3.2.1.