with math we can count blocks in the certain areas see https://github.com/ThunderDoesPlugi...rc/Thunder33345/WorldEdit/Builder.php#L46-L53 ) i am not very sure about counting every block in the map doe
Considering that a map has infinite size, it is invalid to say "all blocks in a map". However, it should be possible to to count blocks in all loaded or generated chunks, although I don't understand why you would want to do so, since they would be invalidated once new chunks are generated.