make Metric#total optional

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