Number of collision tests per frame is printed to a file.