diff --git a/management/commands/extract_ml_registrations.py b/management/commands/extract_ml_registrations.py
index 8d056291b3b601ad5d5cd1c62748483a5a647875..c98f48f481ff04e4ea5587667adf86419e81ee89 100644
--- a/management/commands/extract_ml_registrations.py
+++ b/management/commands/extract_ml_registrations.py
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2021 by BDE ENS Paris-Saclay
+# Copyright (C) 2018-2024 by BDE ENS Paris-Saclay
 # SPDX-License-Identifier: GPL-3.0-or-later
 
 from datetime import date
@@ -57,7 +57,7 @@ class Command(BaseCommand):
             for user in User.objects.filter(profile__ml_art_registration=True).all():
                 self.stdout.write(user.email)
                 nb+=1
-            self.stdout.write(nb)
+            self.stdout.write(str(nb))
             return
 
         if options["type"] == "sport":