add unit attribute to statistics

statistics currently aren't associated with a unit it just
provides sum, average, etc... values without a unit context

Fixes: Bug#1204458
Change-Id: Ib92a6a2ab5899a0b269424e94468a73b6559deda
Merge "add unit attribute to statistics"