Suppose $A>B>C>D$ be four unit digit natural number and $P_1=ABCD$(descending digits) and $Q_1=DCBA$ (ascending digits) and $R_1=P_1-Q_1$, according to Kaprekar $R_1$ could be 6174. If not then go to the second level by constructing $P_2$ and $Q_2$ permuting the digits of $R_1$, find $R_2=P_2-Q_2$, then $R_2$ could be 6174, if not go till $n-$th level, in this process $R_n$ will be 6174. Eventually $R_n$ will be 6174. The magic number 6174 is a unique four digit number called Kaprekar constant.
The question is how many first level 4-digit numbers $P_1$ are possible that give $P_1-Q_1=6174.$
For Kaprekar's claim, you may see:
Edit: Let us allow A=B or C=D or both that means ABCD are weakly descending ( As remarked by @Christian Blatter in his answer below.