For 1d6+4, the 1d6 isn't the variable, numeric number. The 1d6+4 is. That is, the numeric number is a variable between 5 and 10. It just so happens that there aren't any dice that start numbering at 5 and end at 10, so they just use a d6 and add 4 to it.