W() fn for calculating number of winning combos