Complex sentence: Allen spent over 37 years undergoing psychoanalysis, and some of his films, such as "Annie Hall", jokingly include references to psychoanalysis.
Split into simpler sentences: Allen spent over 37 years undergoing psychoanalysis. Some of his films, such as "Annie Hall", jokingly include references to psychoanalysis.