(rv)
return S(rv.count(C.TrigonometricFunction))
Return count of trigonometric functions in expression.

    Examples
    ========

    >>> from sympy.simplify.fu import L
    >>> from sympy.abc import x
    >>> from sympy import cos, sin
    >>> L(cos(x)+sin(x))
    2
Return count of trigonometric functions in expression.
Return count of trigonometric functions in expression .
def L(rv):
    """Return count of trigonometric functions in expression.

    Examples
    ========

    >>> from sympy.simplify.fu import L
    >>> from sympy.abc import x
    >>> from sympy import cos, sin
    >>> L(cos(x)+sin(x))
    2
    """
    return S(rv.count(C.TrigonometricFunction))
def L ( rv ) : return S ( rv . count ( C . TrigonometricFunction ) )