statistics_functions = [] def register_statistics(function): statistics_functions.append(function)