Last month Kim trained three times as many dogs as cats. If the total number of cats and dogs she trained last month is 28, how many cats did Kim train?