int (PyExpression @NotNull [] expressions) { if (expressions.length != 0 && !LanguageLevel.forElement(expressions[0]).isPython2()) { return (int) Arrays .stream(expressions) .filter(PyStarExpression.class::isInstance) .count(); } return 0; }