How to count zeroes of polynomials on quadrature domains using the Bezout matrix