Add CharacterData.length implementation