Give the average number of working horses on farms with more than 5000 total horses.
select avg(working_horses) from farm where total_horses > 5000