public function testCountWithSkipLegacy()
{
$this->prepareData();
$collection = $this->getCollection();
$this->assertSame(2, $collection->count([], null, 1));
$this->assertSame(1, $collection->count(['foo' => 'bar'], null, 1));
}