Theyrr more interested in how much available credit you're using these days. So don't close accounts with 0 balance. Keep them open, it adds to your total available credit and makes you look better. This is how my tax preparer CPA explained it to us a few years back.
And also how long your accounts have been active..
Closing a 10 year revolving account with 100% on time payments is stupid and will kill your credit score.
You lose that "available credit" lose that on time good standings, and lose that 10 years of credit average from your overall history