Numbers could be a criteria, but either way this is where moral philosophy really comes into play. I am disturbed at times how black and white many people see these decision.
Greater good is a perspective and it like anything else is we do...uncertain.