I have pooped 4 times today!

Is this normal towards the end of the pregnancy? I mean I'm not complaining as I've been rather constipated recently, but I woke up today and it's like something switched in my body.