You could start reading the logfile using a csv.DictReader:
header = ["site", "ip", "date", "method","code", "browser","n1", "n2"]
# dict to store [ip] -> occurences
# this defaultdict returns 0 for unset keys
ip_freq = defaultdict(0)
with open("filename.csv", mode="r") as csvfile:
reader = csv.DictReader(csvfile, header, delimiter=",", quoting=csv.QUOTE_ALL);
for line in reader:
# sets the ip and increments the number of occurences
ip_freq[line["ip"]] += 1
# print: "requestcount: 2 ip: 85.97.166.82"
print("requestcount: {}\tip: {}".format(
ip_freq[line["ip"]],
line["ip"]))