The answer to this question is pretty much impossible to work out unless you go through every episode in order making a note of how many times Bart is in his bedtime clothes. And I'm afraid that no one will have the effort or time to do that. So, we can not answer your question.