How to repeat use query?
This is a great thing to ask on stackoverflow. The issue tracker is for issues w/peewee, while questions should go on stackoverflow or the #peewee irc on freenode.

```python
# Did you try this?
query =UserModel.select()

if name:
    query = query.where(UserModel.name == name)
if age:
    query = query.where(UserModel.age == age)

count = query.count()
lst = query.dicts()
``` thank you !
I want to use peewee query like:

```python
# query list 
query =UserModel.select()

if name:
    query = query.where(UserModel.name == name)
if age:
    query = query.where(UserModel.age == age)

lst = query.dicts()
```

```python
# query count
query =UserModel.select()

if name:
    query = query.where(UserModel.name == name)
if age:
    query = query.where(UserModel.age == age)

count = query.count()
```

i found this code is repeat， and i want to combine it
```python
query =UserModel.select()

if name:
    query = query.where(UserModel.name == name)
if age:
    query = query.where(UserModel.age == age)
```

what can i do? do you any suggestion?
