Statistics gathering and analyzing library