added calculation for number of bars with golden tickets