Example 2 The number of prime pairs \((a, b)\) that satisfy the equation
$$
a^{b} b^{a}=(2 a+b+1)(2 b+a+1)
$$
is \qquad (2]
(2011, I Love Mathematics Junior High School Summer Camp Mathematics Competition)