Update strcount.cpp

Updated ReadString function.