diff --git a/bob/devtools/scripts/ci.py b/bob/devtools/scripts/ci.py
index 0d70596ee51499a16b2d841f709f61c7ecf2aadb..1bf30abbe03012cb68e0b1accddbeb1ffc0c0ded 100644
--- a/bob/devtools/scripts/ci.py
+++ b/bob/devtools/scripts/ci.py
@@ -366,7 +366,7 @@ def base_build(order, python, dry_run):
     click.echo('\n' + (80*'='))
     pytext = 'for python-%s' % pyver if pyver is not None else ''
     click.echo('Building "%s" %s(%d/%d)' % \
-        (recipe, pytext, order+1, total_recipes))
+        (recipe, pytext, order+1, len(recipes)))
     click.echo((80*'=') + '\n')
     if not os.path.exists(os.path.join(recipe, 'meta.yaml')):
       logger.info('Ignoring directory "%s" - no meta.yaml found' % recipe)