I'm trying to increase the count each time the function is run, it seems as though count is being reset each time the function is run. I think the count in the if statement may not be the same one that's passed as a condition. Thanks

```
def check_solution(user_solution, solution, count):

if user_solution == solution:
        count =+1
        print(count)
        return count
else:
    print("Incorrect")

```

this is the code I'm using to call the function

```
if index == 1:
    solution = num_1 + num_2
    num_1 = str(num_1)
    num_2 = str(num_2)
    problem = (num_1 + "+" + num_2)
    user_solution = get_user_solution(problem)
    check_solution(user_solution, solution, count)
    return count

```