count bets correctly