The dimension of a complete series is equal to the sum of the order and index of specialization of any group, less the Genus of the base curve
References
Coolidge, J. L. A Treatise on Algebraic Plane Curves. New York: Dover, p. 261, 1959.