Corrected a bug when parsing the count=int act