How many poems did Bai Juyi have in his life?

Bai Juyi not only left nearly 3000 poems in his life, but also put forward a whole set of poetry theory. He compared poetry to a fruit tree and put forward the famous argument of "root feeling, Miao language, Watson, true meaning" (Yu Yuan Jiu Shu). Emotion is the content of poetry, harmony is the expression of poetry, and righteousness is the social effect of poetry. He analyzed the emotional activities in poetry creation, saying that "when a great man feels useless, he must be moved by emotion, and then he will sigh and sing in the form of a poem" (Zelin, 69). He also said: "Musicians are based on sound, vocalists are based on emotion, and emotion is based on politics" (Ce Lin 64). It is believed that emotional activities are not generated out of thin air, but originated from "things" in social life and are closely related to "politics" at that time. Therefore, poetry creation cannot be divorced from reality, but must come from life and reflect the social and political situation of an era based on various events in real life.