I am currently studying about clustering while studying it I came across two major clustering algorithm.

1- K-means clustering

2-Hierachical clustering

In Hierarchical clustering, we can use dendrograms for selecting the number of the cluster in the data, we can not use dendrograms for selecting a number of the cluster in K-means algorithm. I want to know how we can select number cluster in K-means algorithm .