use getCardinality() method

Closes #3414714

Merge request reports

Loading