Count Of Elements In Numpy Array To Scalar