Yes it does. I know this because I found out the hard way. My instructor told me it didnt and then we spent hours and hours going over stuff just to fill the 40hrs up.
I was not best please with him or the club when I found out I could have done my night rating with my PPL, I even asked if I could at the start of the course!