Instead of writing the perpendicular bisector as a slope-intercept equation, let's build it using a direction vector, a slightly different route to the same relationship between a and b.
Now check which integers a make this a whole number. Since $\frac{10}{a}$ only contributes a whole-number style fraction alongside $\frac{a}{2}$ when a shares factors with 20, a must be a divisor of 20: the candidates are $\pm1, \pm2, \pm4, \pm5, \pm10, \pm20$. Testing each shows only $a = 2, 10, -2, -10$ give a whole-number b (each giving $b = 6$ or $b = -6$); every other divisor leaves a leftover half unit, for example $a = 4$ gives $b = 2 + 2.5 = 4.5$.
Let's summarize:
So there are 4 integer values of a for which b is also an integer.