Interpret number of events as integer instead of double