If you hire a testing officer and sit the test, then yes it would count, however if you sit a structured course such as what is offered these days, then unless the flight was logged by an instructor and placed in your progress file, or the CFI of the millitary academy sent your flying records over to the CFI of the aero club, then they could be discounted against your PPL progress!