Add events metric

For https://github.com/theodi/shared/issues/168