removed counter initializer, moved code to Measure model