In how many years, is the percentage of female pupils in higher and secondary schools in Middle income greater than the average percentage of female pupils in higher and secondary schools in Middle income taken over all years ?