Move body length filter to a template tag.