added stats script from solr/api analysis