If you drink a lot of water at once does it still count ?

Does your body still get the benefit of it if you drink a large amount of water fast ?