function s = support(X, v)

n = size(X, 1);
u = X*v';
s = full(sum(u == sum(v))/n);
