Commuting in sneakers on a toodle-bike loaded with panniers or a backpack is extra mileage that always makes you stronger than if you sat in a car thinking about riding your bike.
Of course it counts in your log book towards training.
I used to add up to 8 hours a week to my training load like that. My best seasons always had extra miles. That simple.