TRUNK 4374: Improve performance of getCountOfConcepts
Merge pull request #898 from rpuzdrowski/TRUNK-4374

TRUNK 4374: Improve performance of getCountOfConcepts