I have this data frame:

```
Ind1                Ind2         M     F
Business Analyst    1-2 years    50    55
Business Analyst    10-20 years  47    23
DBA Engineer        1-2 years    31    12
DBA Engineer        10-20 years  21    10

```

I want to calculate the total count for M and F individually and insert it after the end of a unique occupation entry (in this case the 2nd row). The data frame is multi indexed (Ind1 and Ind2).
So my end data frame should be:

```
Ind1                Ind2         M     F
Business Analyst    1-2 years    50    55
Business Analyst    10-20 years  47    23
Total               Not required 97    78
DBA Engineer        1-2 years    31    12
DBA Engineer        10-20 years  21    10
Total               Not required 52    22

```

How can I do it in pandas? I haven't been able to code this out properly.

Note: The new rows should be part of index (i.e. inside it).