added exceptions counter