throw an exception if CountResponse contains shard failures
add custom exception for shard failure and use in both ESCount/ESSearch tasks