On the number of commutators in groups