``downloads.total`` is an integer. Calling ``|length`` on it does not make sense. The pluralization should depend on the total, not on the length of the total