Resolves: fdo#51818 format word count numbers with locale rules

Change-Id: Ia203a622ab2cd63d644895bb792b0569a61eb81a