inverse pairs
common node
the number of given number in ordered array