added resulting counting