Adapt to the new stats

Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>