Added proxy weighting #2012

Proposing adding proxy weighting to the current release branch, although I could be convinced otherwise.
Not that it matters, but since we are only using the count here, a bunch of ints would have done the job.