In my Laravel 8 reading how factory works at https://laravel.com/docs/8.x/database-testing when I set params in factory call :
$ads = Ad::factory()->count