Baby movement

My baby normally is most active during the day from like 11:30 am to 1:30. But yesterday he only moved 6 times during his active time but he continued to move once an hour after that, so I didn't call my doctor. And then at night he started to move and be more active for an hour before I went to bed.

Today he's moved once in a two hour period and I'm laying on my side trying to get him to move and he's not. Not one single time. I've tried water, and candy. And poking him. It's not working. Should I wait until tonight to see if he loves more then, or is it to long to wait? I just am completely lost and I don't know what to do.

Also it might be completely unrelated but my belly is sore like I've been doing sit ups.

I'm 31 weeks