If it's under your own power- it counts! Even walking up hills gets your legs stronger.