new_list =[0,0,0,0]
for x_list in random_list: # list of list
for x in x_list:
if x == "I" or "i":
list_index = x_list.index(x)
new_list[list_index] += 1
Lets say the random_list was [['x','x','I','I'],['x','x','I','x']]
it should output [0,0,2,1], but it doesn't