The `wp.getCommentCount` ([docs](http://codex.wordpress.org/XML-RPC_WordPress_API/Comments#wp.getCommentCount)) method returns the comment counts for a post grouped by type (approved, pending, spam) in addition to the total. 

This can be very helpful in scenarios where you just want some counts for simple indicators and don't want to incur the bandwidth, memory, or parsing time cost of retrieving the full list and contents of the post's comments so that you can calculate the counts yourself.

The WP.com JSON API returns a `found` value alongside the results array. After I made this patch I found that the WP-API implementation does return the total count as an HTTP response header, so it also should have a `~` value for that row.