adding string length native function