ok, this is strange… after quitting OO and restarting the app it appears that this issue with the particular file is gone.
However, on another note and related to this thread, the number is also shown correctly on files that still present errors (from inside OmniOutliner):

