add basic statistics in UI