public static function numElements($check, $operator, $expectedCount)
    {
        if (!is_array($check) && !$check instanceof \Countable) {
            return false;
        }

        return self::comparison(count($check), $operator, $expectedCount);
    }