online letter counter from string - Search