initial code to record sensor usage count