How to determine the optimal number of clusters?

It is tricky to find the optimal number of clusters and depends on many aspects. There is no node in KNIME which performs one of the methods you have mentioned above, but you could build a workflow for it. You may take a look at this post where a user had a similar question:

Cheers,
Simon