Properly logged flight hours, as per cFAR 61.51, legally count towards a pilot certificate or rating, regardless of the flight school or instructor where they were obtained. Although legally valid, ...