def candidate_count(self, v):
<EOL>candidates = self._get_candidates(v)<EOL>return len(candidates)<EOL>
Returns candidate count for nearest neighbour search for specified vector.
The candidate count is the count of vectors taken from all buckets the
specified vector is projected onto.

Use this method to check if your hashes are configured good. High candidate
counts makes querying slow.

For example if you always want to retrieve 20 neighbours but the candidate
count is 1000 or something you have to change the hash so that each bucket
has less entries (increase projection count for example).