by counting or timing of machine operations