You've now seen two modes of subset sum: boolean (can we?) and counting (how many ways?). The structure is identical. Only the operation changes. Boolean: . Counting: sss.
This pattern extends beyond subset sum. Any DP that asks "can we" can usually be converted to "how many ways" by changing OR to addition. The next problem shows another counting variation with a subtle trap.