add string length accessor

- string length could be retrieved by taking its 'length' element