hi there, well I tend to count only the time spent sleeping as a total, so add them together and also be mindful of the time spent trying to get them back to sleep, its considered A time so add that to your A time total too. if the S time is short then you need to shorten the following A time as well.
does that help at all?