make Metric#total optional

Closes https://github.com/afeld/tricle/issues/53.

If not defined, the total won't be included in the mailer.