Does warm up and cool down count as exercising?

Whenever I'm exercise, I don't count warm ups and cool downs in the number of minutes that I exercise. Is anyone else the same?