I got a question regarding counting the number of times a specific number belongs to a specific element.
Let me explain it better by use of an example. First I got this situation within my csv file:

What I want is that within Python I need to have the following results:
- 1 with 1200 is 4 (times visible)
- 1 with 5600 is 5 (times visible)
- 2 with 1400 is 3 (times visible)
- 2 with 1600 is 2 (times visible)
Can anyone help me getting this result?
Code that I have untill now is just loading the csv:
with open('calculate_ids.csv') as csvfile:
reader = csv.reader(csvfile, delimiter=',', quotechar='|')