(domain, days)
return FormES().domain(domain).submitted(gte=then).count()
Returns the number of forms submitted in the last given number of days
Returns the number of forms submitted in the last given number of days
Returns the number of forms submitted in the last given number of days
def forms_in_last(domain, days):
    """
    Returns the number of forms submitted in the last given number of days
    """
    then = datetime.utcnow() - timedelta(days=int(days))
    return FormES().domain(domain).submitted(gte=then).count()
def forms_in_last ( domain , days ) : then = datetime . utcnow ( ) - timedelta ( days = int ( days ) ) return FormES ( ) . domain ( domain ) . submitted ( gte = then ) . count ( )