No, only newly opened or approved credit cards count towards your 5/24 status. If you applied for a credit card but got rejected, it doesn’t count.