If x is a positive integer such that 2x+12 is perfectly divisible by x, then the number of possible values of x is