Fixed the parsing of count