Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Counts all elements in an array or in a Countable object
Alias sizeof
<?php count(Countable|array $value, int $mode = COUNT_NORMAL): int
<?php     protected function shiftTaskFromQueue(): void

    {

        if (! count($this->queue)) {

            return;

        }
<?php     protected function isRunning(): bool

    {

        return count($this->runningTasks) > 0;

    }



    protected function concurrencyLimitReached(): bool
<?php     protected function concurrencyLimitReached(): bool

    {

        return $this->concurrent && count($this->runningTasks) >= $this->concurrent;

    }

}