Added string length reporting with function dictionary