AS-389: Add per region totals to cloud metrics

I think this could use a real docstring; I can't tell what this function is supposed to do.