bin/labelcounts: Fixed bug if the max label is not present in some blocks.