strstream::pcount

streamsize pcount() const;

The member function returns rdbuf()-> pcount().