Move tick count to the ProcessEvent class