Add docstring to helper function in metering views.

Change-Id: I33e0133e949199a5ee91cf1dd9dfe3f880523820