Does this count?

I you feel like you realized that you are dreaming then it does count:

Did you feel excited when you wake up? Did your heart racing? If you had those “symptoms” they you were just too excited and that’s the reason for waking up.

Here’s very good guide on how to control your dreams, and how to control your emotions within the dream.