Extension of this thread. In this thread, please post tools or methods to count the size of programs to aid others in this process. These tools/methods should follow the counting rules listed in the corresponding meta post (link above).
Customizable MCEdit Filter
Edit: As @VoteToClose pointed out, the original filter did not work on mac. I have updated the repository to account for this and now there are separate mac and windows versions.
I have created an MCEdit filter to do this task, where you can customize the count for each block and select any region you want. This filter works in any Minecraft version after Infdev. Here are some screenshots:
Download this filter here at my repository.