I always count my trainer miles, but that's because I have a rear mounted wheel sensor so I can. A gym stationary bike's milage counter won't be anywhere near accurate but it is all you have so count em.
No matter how hard I ride the stationary it still pales by comparison with road riding so I always take all of it with a grain of salt. It's a small fraction of the total in any case.