How many numbers can be formed by multiplying some or all of the numbers 2,3,4,5,6,7,8?

The answer is 48 but I don't know how to get there?