getRankOfNumber(int x)