Pakistan ranks second last in the world for gender quality