Layton learned how to count cards and gambled with $5,000 of the film's budget as a "case study."
Layton acquired knowledge about card counting and tested it by using $5,000 of the film's budget for a study on gambling.