refactor: abstract out measurement statistics