Solve the web counter problem using a dynamically sizing array and sum the hits for each time stamp to count their diff.