x = pd.DataFrame(np.random.randint(0, 100, size=(137736, 3)), columns=list(
    'ABC'))
x.A.count() * (x.A.count() - 1) * 2
len(x) * (len(x) - 1) * 2
type(x.A.count())
type(len(x))
Multiplication of two positive numbers gives a negative output in Python 3