added support of [Type].length and String.length