Collect metrics

Should this file have a license header?