Add a summary function

Signed-off-by: Jonas Kalderstam <jonas@kalderstam.se>