https://devhubby.com/thread/how-to-get-the-length-of-a-list-in-jinja2