Counting traffic data for research