Comment And Ping Count In WordPress 2.7

The comment area changed a lot in WordPress 2.7. A good reason to check your comments.php and make some changes to it. Especially I like to seperate the comments from Ping- and Trackbacks. Matt shows in an excellent tutorial how to do it: Separating Pings from Comments.

But I didn't like one thing in this tutorial. To show the total count of your comments without Pings/Trackbacks, he writes following function in functions.php:
Continue reading …