Add metrics

Closes #13