Link? Is that total or active now?
That is the total from NASA's historical astronaut database (in other words, NOT including the active astronauts all ready discussed in the post previous to mine).
http://www.jsc.nasa.gov/Bios/astrobio_activemgmt.html
I was trying to dodge working on a Masters paper, so I put them all into an Excel file then categorized each one.
Categorization was based on their "highest" rating at the time of selection to the astronaut corps. In other words, some guys started as Navs/NFOs, then later went to flight school and were selected as pilots -- I counted them as pilots.
For the most part categorization was pretty clear cut, but in a couple cases I had to do some additional internet sleuthing to figure out their actual backgrounds. In a couple cases there were flight test engineers who had verbage in their bios that made them sound like military pilots, but it wasn't until reading additional info at other internet sites that it was clear they were not actually pilots. In several cases, non-military pilots were sent to USAF pilot training after selection as an astronaut, and I did NOT include them in the total. Interestingly, there was one Navy SEAL that was picked to be an astronaut with no military flying experience.
I suppose if someone has the time and desire, they could go sort through the active astronauts, too, and fold in that info here. Here's the file if anyone cares to check my work or add to it.