Python Count Unique Values In Array Python Methods That Only Takes