, , dict , , , , . , , dict . :
rows = csv.reader(open("...csv") )
allCounts = {}
for row in rows:
for field in row:
allCounts[field] = allCounts.get(field, 0) + 1
dict, , .
. . intVal, intVal, dict. , .
if . , dict, , dict. , dict.
, else , . Python , dicts,
dict. - . , , .
CSV ( ), , . CSV , . , , . , dict , .