Extracted mention counting into a class Mention.