Sleep eating

Options
It doesn't happen regularly, but occasionally I'll wake in the morning to find that I've eaten a bowl of cereal in the middle of the night. I can vaguely remember it happening once I see the dirty bowl on the nightstand or the floor next to the bed. Has this ever happened to anyone else? It seems to happen when my muscles are sore or when I've upped my running miles. ...and on which day to I count the calories?