cls._statistics call returned None rather than iterator