[ticket/432] Improve code documentation in statistics module

B3P-432