Finding number of don't care conditions
Each of your inputs would be represented by four bits - but four bits can represent 15 different values.  You would be interested in the bit patterns that represent values from 0 to 9, but would not be interested in those that represent values of 10 - 15, as those shouldn't exist in your inputs.  Those values or bit patterns would be your "don't care" conditions.