Could walking to school count as physical activity.?

Definitely, yes. it is light intensity activity. If you are looking for health benefits, physical activity should be moderate or vigorous intensity.
Of course. All relative to how far and how fast you go as to how much activity, but physical activity none-the-less.