When importing nemo.collections.asr: ImportError: cannot import name 'get_num_classes' from 'torchmetrics.utilities.data'
I cannot start my app due to an import error when using NeMo ASR. The relevant stack trace: 

```
  (...)
  File "/asr/asr_solution.py", line 34, in <module>
    import nemo.collections.asr as nemo_asr # NeMo's ASR library
  File "/usr/local/lib/python3.10/site-packages/nemo/collections/asr/__init__.py", line 15, in <module>
    from nemo.collections.asr import data, losses, models, modules
  File "/usr/local/lib/python3.10/site-packages/nemo/collections/asr/losses/__init__.py", line 15, in <module>
    from nemo.collections.asr.losses.angularloss import AngularSoftmaxLoss
  File "/usr/local/lib/python3.10/site-packages/nemo/collections/asr/losses/angularloss.py", line 18, in <module>
    from nemo.core.classes import Loss, Typing, typecheck
  File "/usr/local/lib/python3.10/site-packages/nemo/core/__init__.py", line 16, in <module>
    from nemo.core.classes import *
  File "/usr/local/lib/python3.10/site-packages/nemo/core/classes/__init__.py", line 16, in <module>
    from nemo.core.classes.common import (
  File "/usr/local/lib/python3.10/site-packages/nemo/core/classes/common.py", line 31, in <module>
    from nemo.utils import logging
  File "/usr/local/lib/python3.10/site-packages/nemo/utils/__init__.py", line 22, in <module>
    from nemo.utils.lightning_logger_patch import add_memory_handlers_to_pl_logger
  File "/usr/local/lib/python3.10/site-packages/nemo/utils/lightning_logger_patch.py", line 18, in <module>
    import pytorch_lightning as pl
  File "/usr/local/lib/python3.10/site-packages/pytorch_lightning/__init__.py", line 20, in <module>
    from pytorch_lightning import metrics  # noqa: E402
  File "/usr/local/lib/python3.10/site-packages/pytorch_lightning/metrics/__init__.py", line 15, in <module>
    from pytorch_lightning.metrics.classification import (  # noqa: F401
  File "/usr/local/lib/python3.10/site-packages/pytorch_lightning/metrics/classification/__init__.py", line 14, in <module>
    from pytorch_lightning.metrics.classification.accuracy import Accuracy  # noqa: F401
  File "/usr/local/lib/python3.10/site-packages/pytorch_lightning/metrics/classification/accuracy.py", line 18, in <module>
    from pytorch_lightning.metrics.utils import deprecated_metrics, void
  File "/usr/local/lib/python3.10/site-packages/pytorch_lightning/metrics/utils.py", line 22, in <module>
    from torchmetrics.utilities.data import get_num_classes as _get_num_classes
ImportError: cannot import name 'get_num_classes' from 'torchmetrics.utilities.data' (/usr/local/lib/python3.10/site-packages/torchmetrics/utilities/data.py)
```

This does not happen in my local virtual environment, but in a docker container, so I am guessing that somehow not all necessary files have been installed when building the container. However, `nemo_toolkit[asr]` is part of the libs being pipped via Dockerfile, and I thought all necessary requirements were contained in that installation. Should I add anything specific to the requirements?
