A farmer was counting his chickens and dogs. He counted a total of 60 legs. If the amount of chickens he has is four times the amount of dogs he has, how many chickens does he have?​