Simplify _getIndentSize() function