Fixed the block counter

The UI now shows the correct number of blocks, but the method of
tracking the number of blocks in a level still needs to be rethought...