Return int if no goal is set.