a barn that has some cows out in front of it
a herd of cows walk in front of a building 
A herd of cattle standing outside of a barn.
 a group of cattle sitting in a pen next to a barn
some cows in a stable besides an old house