IT should count
Towards your 45 hours flying.
You'll still be rusty but if you were indeed good then it should all come back on the first flight. The only areas you'll be a bit weak in "radio".
You'll probably get the PAT and APT wrong.
I knew one chap who hadn't flown for 10 years and wanted to know if it's worth using the hours he had. Actually in his case it turned out to be better to just do a full course instead of cutting corners.
Enjoy!
1/60