update code for count cooperation traffic