Support specifying number format for data count widget

Add numberFormat function to allow controlling number formatter