You're absolutely right that the example values as documented are incorrect. I'll notify the relevant parties to update the documentation.
In the common case where only a single metric value is being reported, the count will be (1), in which case squaring the "total" value yields the correct result.