Counter and testfiles

Ability to count number of different kind of blocks and included two
test files.