I am trying to create a .csv file with the number of vehicles at a give point of time from an xml file