Academy time only counts towards Civ retirement
So the real answer is -- it depends....
If you are retiring under Title 10 (military) -- the time at academy DOES NOT COUNT as active duty -
If you retire under Title 5 (Civilian) the Academy time is "active federal service"-- and counts -- but only once - -that is -- if you are collecting a Military retirement check - the time does not count again (none of your military time counts towards a civ retirement does if you are military retired/annuitant) . PS - you have to make a contribution to make the time count
http://www.opm.gov/retire/pre/fers/servicecredit.asp#military
Also - if you are not retired military (annuitant) your active time (including Academy time) counts towards Leave category