printinfos.py: added module printing out histogram stats.