count mapping with text from triple store