Just beware - the expected value of the authors simulated blackjack counting is quite good. This is due in part to the crazy “spread” (the ratio of max bet to min bet) of 100-to-1. This illustrates the profitability of the model well, but it’s unrealistic.
A more typical spread of 10-to-1 ekes out an expected value of ~0.5% (see https://wizardofodds.com/games/blackjack/card-counting/high-...). When I was counting, I could barely hit $15/hr expected value. Hardly worth the effort, I found it very demanding to keep track of the count at Vegas dealer speeds and play perfect blackjack for hours on end.