get rid of get_name_obj function [MJ-697]
style changes to candidate count