moved getNumCharactesThatFit from Helpers to WorkContainer.