Created method to generate statistics

Signed-off-by: Thomas Spycher <tspycher@zerodine.com>