Compact statistic generation ( with tool)

Signed-off-by: David Saradini <david.saradini@me.com>