connects to a graphite instance and gets # of occurrences for each http code.