Everything counts towards your water intake, if it has water in it, food or otherwise. Obviously though food would have a lower amount of just water in it, and wouldn't add up to much. Food Detectives on Food Network did an episode on it, by dehydrating food and measuring how much liquid was removed.
I also know there was a study that found you don't need to drink that much water to be "healthy", lol.