def counter(start=1):
    """Simple counter generator, used to keep track of query args.

    :param start:  The number to start out the counter with.

    """
    while True:
        yield start
        start += 1
