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