How Many Millions of Lottery Tickets Should we Buy?