Please use:
{% if motion.versions.count > 1 %}
...