Python Dataframe Count Values In Numpy