Fixed bug when counting timed requests misses
Added batch processing for density and timed requests
Output text to file