Does it still count as sleep if the baby has eyes closed but occasionally whipping his head left and right, kicking legs, waving arms, moaning?