There are 7 different boxes with 2, 3, 3, 2, 1, 2, 1 chocolates, respectively. How many boxes contain 2 chocolates?
[OP_LIST_SOL] 2 3 3 2 1 2 1 [OP_LIST_EOL] 2 [OP_LIST_FIND_NUM]
var_a = 2
var_b = 3
var_c = 3
var_d = 2
var_e = 1
var_f = 2
var_g = 1
list_a= []
if "/" in str(var_g):
    var_g = eval(str(var_g))
list_a.append(var_g)
if "/" in str(var_f):
    var_f = eval(str(var_f))
list_a.append(var_f)
if "/" in str(var_e):
    var_e = eval(str(var_e))
list_a.append(var_e)
if "/" in str(var_d):
    var_d = eval(str(var_d))
list_a.append(var_d)
if "/" in str(var_c):
    var_c = eval(str(var_c))
list_a.append(var_c)
if "/" in str(var_b):
    var_b = eval(str(var_b))
list_a.append(var_b)
if "/" in str(var_a):
    var_a = eval(str(var_a))
list_a.append(var_a)
list_a.reverse()
var_h = 2
var_i = 0
var_h = int(var_h)
for i in list_a:
    i = int(i)
    if i == var_h:
        var_i = var_i + 1
print(int(var_i))