public static function exactCount($value, int $count): bool
    {
        if (!static::isCountable($value)) {
            return false;
        }

        return count($value) == $count;
    }
public static function exactCount($value, int $count): bool
    {
        if (!static::isCountable($value)) {
            return false;
        }

        return count($value) == $count;
    }
public static function exactCount ( $ value , int $ count ) : bool { if ( ! static :: isCountable ( $ value ) ) { return false ; } return count ( $ value ) == $ count ; }
Checks if value has an exact count

@param mixed $value The value
@param int   $count The count

@return bool
Checks if value has an exact count