Are you having too many posts or comments in your blogger blog? Let your readers view the total post and comments count in your blogspot blog. This is a pretty good when you have a large blog and want to impress your readers with the no of your blog and comments count. You have to add a simple widget to your template, that’s it. But remember that this widget counts all published posts and comments only and will show it. This does not calculate your unapproved comments or unpublished posts, drafts. I have seen bloggers getting more subscribers after adding this number count in their blogs. Let’s know how to add a posts & comments count widget in blogger blogs.
1. Log in to your blogger account and navigate to Dashboard >> Layout >> Page Elements >> Add a Widget >> HTML/JavaScript
2. Copy and add the following code to your HTML/Javascript widget.
<script style=”text/javascript”>
function numberOfPosts(json) {
document.write(‘Total Posts: <b>’ + json.feed.openSearch$totalResults.$t + ‘</b><br>’);
}
function numberOfComments(json) {
document.write(‘Total Comments: <b>’ + json.feed.openSearch$totalResults.$t + ‘</b><br>’);
}
</script>
<ul><li><script src=”http://yourblog.blogspot.com/feeds/posts/default?alt=json-in-script&callback=numberOfPosts”></script></li>
<li><script src=”http://yourblog.blogspot.com/feeds/comments/default?alt=json-in-script&callback=numberOfComments”></script></li></ul>
<center><span style=”font-size:75%;”><a href=”http://www.Solidblogger.com/” rel=”dofollow”>Get This Widget</a></span></center>
3. Replace yourblog with your actual blog name in the above code.
4. Save the widget and rearrange it according to your preference.
5. You are Done.
Now this will show post & comments count in your blogger/blogspot blog. This blogger widget will fetch all your blogger post and comments count from your blog’s RSS feed and will show them. If you have not activated your blog’s RSS feed, do it now, else this blogger trick will not work. [via]
Below are some more related articles to the topic:


According to your widget the number of comments on my blog is 543… this is to much, i have just a few comments.. let’s say max 15…
so… what’s happening ?
this is not working in my blog
This does not work