5. 2

Translate the text above into English, please retain the original text's line breaks and format, and output the translation result directly.
5. Given positive real numbers $a$ and $b$ satisfy $a+b=1$, then $M=$ $\sqrt{1+a^{2}}+\sqrt{1+2 b}$ the integer part is