get votes as int, fix case after removing nodes