Your solution counts some solutions more than once, namely if you have four bowlers or two wicket keeps you count them four times and twice respectively. The book however counts each in a different place: Each term on the LHS is one of four possibilities, depending on how many bowlers/wicket keepers there are.