In wp_count_posts(), rename 'count_posts' hook to 'wp_count_posts', for clarity. see #16603.


git-svn-id: https://develop.svn.wordpress.org/trunk@25578 602fd350-edb4-49c9-b593-d223f7449a82
Introduce a wp_count_attachments filter.

props kevinB.
fixes #17071.


git-svn-id: https://develop.svn.wordpress.org/trunk@25579 602fd350-edb4-49c9-b593-d223f7449a82