Opposed to what the code in the jupyter notebook says for the K-means Clustering MNIST, of course, it has 10 classes. For some reason, I went with 9 instead.
Feel free to correct this in the code or leave it as it is.
Thanks for making me aware of this mistake.