; and (B) that— (i) none of the candidates under subparagraph (A) met the qualifications needed by an officer serving in that position or office to carry out effectively the duties and responsibilities of that position or office; or (ii) the officers currently serving in the positions designated under paragraph (1) represent the diversity of the Coast Guard to the extent practicable. . 5. Report on demographics of officers appointed to certain grades Not later than the first October 1 to occur after the date of the enactment of this Act, and annually thereafter, each Secretary of a military department shall submit to the Committees on Armed Services of the Senate and the House of Representatives a report summarizing the gender and race of each individual who received an appointment under section 531 or 601 of title 10, United States Code, during the immediately preceding fiscal year. 6. Mentoring and career counseling program (a) Program required (1) In general Chapter 107 of title 10, United States Code, is amended by adding at the end the following new section: 2158. Mentoring and career counseling program (a) In general The Secretary of Defense, in coordination with the Secretaries of the military departments and the Chief Diversity Officer, shall carry out a program for mentoring and career counseling that— (1) ensures that the occupancy of each military occupational specialty and career field reflects the demographics of the armed forces; and (2) ensures that the membership of each grade of each armed force reflects the demographics of the armed forces. (b) Program description and components The program under subsection (a) shall— (1) include mentoring and career counseling efforts that start prior to the initial career field decision point and continue throughout the career of each participating member; (2) provide guidance on accession into the military occupational specialties and career fields that experience the highest rates and greatest number of promotions to a grade above O–6