fixed total result count being displayed