Add assertion count

This replaces https://github.com/phpspec/prophecy-phpunit/pull/6, using the same code than in PHPUnit 4.5