nsReadingIterator<PRUnichar> begin, end;
nsReadingIterator<char> begin, end;
CountCharInReadable( const nsAString& aStr,                     PRUnichar aChar ){  PRUint32 count = 0;  nsReadingIterator<PRUnichar> begin, end;    aStr.BeginReading(begin);  aStr.EndReading(end);    while (begin != end) {    if (*begin == aChar) {      count++;    }    begin++;  }  return count;}