Hundreds of cows rescued from floodwaters