並前往https://www.kite.com/python/answers/how-to-count-frequency-of-unique-values-in-a-numpy-array-in-python