Put in a friendlier way (and, of course, the GMAT itself will not be friendly!), the original stem could read "How many integers are there between the numbers a and b on the number line?"
Two important things:
1:: The specific values of a and b don't really matter, just (i) how far apart they are on the number line and (ii) whether they're integers or not.
For instance, there are as many integers between and 1 and 6 {2, 3, 4, 5} as there are between 10 and 15 {11, 12, 13, 14}. Likewise, there are as many integers between 1.5 and 6.5 {2, 3, 4, 5, 6} as there are between 10.5 and 15.5 {11, 12, 13, 14, 15}. So all we care about is how far apart a and b are.
2:: x isn't a value here, it's just a way of naming the type of integer we want (integers between a and b). When we say "How many integers x are there such that a < x < b?", we're really saying "How many integer members are there of the set of all numbers greater than a and less than b?" x here is a property that a number has (it's an integer between a and b) rather than an actual number.