you are right you still need the number of clusters
For PCA or factor analysis, there's lots of ways but without some way of determining ground truth it's difficult to know if you've done a good job.
If so then estimating the marginal likelihood of each one and comparing them seems pretty reasonable?
(I mean in the sense of Jaynes chapter 20.)