Yes and no.
Count. Don't count.
Ride. Don't ride.
It is really up to you. Don't worry about what others think on this subject. I use the trainer and count the miles. I'm not riding outside for long in -47F temperatures. Just ain't happening! I have a bike computer on the trainer bike hooked up to the rear wheel to get an accurate mileage count.