Is the following statement true (and if not, what is?):
If $R$ is a complete DVR, and $K$ is its quotient field, and $C$ is a relative curve over $R$, then the sum of the arithmetic genera of the irreducible components of the special fiber ($C \times_R R/m$) equals the arithmetic genus of $C \times_R K$?

