An animal shelter spends $1.50 per day to care for each cat and $3.50 per day to care for each dog. Gianna noticed that the shelter spent $20.50 caring for cats and dogs on Tuesday. Gianna found a record showing that there were a total of 7 cats and dogs on Tuesday. How many cats were at the shelter on Tuesday?