Adds the statistics service to handle collecting stats about the flows received.