Cumulative metrics

For https://github.com/theodi/shared/issues/161. Also resolves #103.