'len' is undefined jinja code example Example: jinja len is undefined # use {% var|length %} # or {% var|count %}