We know that a Galaxy-class starship has a crew complement of about 1,000 members, (see What is the crew complement and capacity of the Galaxy class?), but what about the distribution of these 1,000 people - in principle, or on the Enterprise-D - with regard to rank?
I know, I know - most specific positions have a range of possible ranks: the Chief of Engineering or Ship's Doctor might not even have to be an officer; the Chief of Security can be as low as a Lieutenant (perhaps even a Lieutenant JG, although I doubt it) etc. Which is why I focused on the Enterprise-D.
What do we know about the numbers of each of the following?
- Officers (Commanders, Lt. Commanders, Lieutenants, Lieutenants Junior Grade, Ensigns)
- Petty Officers (Master, Senior, Chief, 1st class, 2nd class)
- Crewmen (1st, 2nd, 3rd class)
- Civilian crew members (i.e. not passengers/crew families etc., but not members of Starfleet)