semanticRepository count entities