Refactoring pregnancy index page and added gender count