Hi,
I don't think there is a way to do this within mumax. You could use ext_topologicalchargedensity.region() to get the charge density of a certain region, but you would need to do some postprocessing to integrate it to get back to the charge. In principle, ext_topologicalchargedensity.region().average might work ? I have not tested it compared to just ext_topologicalcharge. Unfortunately ext_topologicalcharge does not seem to have a .region() method.
You can try to do it via naked eye, but that wouldn't be rigorous, and would be fairly tedious. That might be fine for a quick sanity check but I wouldn't rely on eyeballing it.
Best,
Josh L.