Count pairs such that x^y > y^x