Fix voter count regex and avariable assignment