Given the polynomial \( P(x) = x^4 + ax^3 + bx^2 + cx + d \), if one of its roots is \( 1 + i \), find the sum of the coefficients of the polynomial \( P(x) \). Let's think step by step and output the final answer within \boxed{}.
user