add a feature of totalization for sleep cycle data