throw an exception if CountResponse contains shard failures