added a test case of getMCount()
part of method finalizeCompoundTag()