Count Unique Values In Numpy Array Shape