We have the AssertSameWithCountRule rule:
https://github.com/phpstan/phpstan-phpunit/blob/2.0.x/src/Rules/PHPUnit/AssertSameWithCountRule.php
is there a reason for not having AssertEqualsWithCountRule
so that $this->assertEquals(45, count($actual)); would become $this->assertCount(45, $actual);
I can make a pull request I just wanted to make sure if there were a reason