I have the following function:

```
def f(loop_condition, count):
    while loop_condition:
        count += 1
        ...

```

This works with a simple True statement. But what in case I want to have my loop condition to be:

```
count < 3

```

Is there a way to achieve this?