def L(seqn):
 return chain(imap((lambda x: x), R(Ig(G(seqn)))))

def L ( seqn ) : return chain ( imap ( ( lambda x : x ) , R ( Ig ( G ( seqn ) ) ) ) )
return count of trigonometric functions in expression .