added fall count to the output file