From a legal point of view they still "count". But any flying school you go to will start you back at the beginning, and quite right too.
Lets say you've done 5 hours of training. Imagine if you had 5 driving lessons 6 years ago and hadn't gone near a car since (not even as a passenger) - you'd need to start again.