Create method to compute coeff count for deformation.
closes #15.