The number of female senators, however, has fallen from 24 to 17.