Numpy Array Count Unique Values In Pivot