Fix a cluster similarity computation bug.

Decrease output frequency.
Output number of weights.