Python Array Count Method Pandasims