added max filter to jinja
warn if we find discrepancies between track numbers and count