depends what you flew and in what capacity, and also what licence you are going for. I am an instructor on the Vigilant motor glider, and I got my licence the other year with an initial issue with a TMG class rating all I needed to do was the x-country solo, ground exams and skills test. I was able to count all my hours towards the 45 (although I had nearlt 500hrs). I then added the SEP class rating by difference training and skill test. Have a look in LASORS its all in there.
However unless you have done some productive flying then I doubt it will make any difference to the hours you need to get a licence.
Oh and you can log your flying if its with an instructor.