n_screen_on function

Get number of times screen turned on