improper calculations of number of mentions fixed