does sex counts as walking ? lol

Doctor always ask , do you walk ? ... also my parents and friends tell my to walk or labor will be hard ... but I have sex everytime im with my bf ... is that the same ? or do I really have to go for a walk ? this might be a really stupid question lol