Given an amount of money and an array of coins denominations, create a function that counts how many different ways you can make change with the given money.
coinsCombinations(4, [1, 2]) ➞ 3
// 1+1+1+1 = 4
// 1+1+2 = 4
// 2+2 = 4
coinsCombinations(10, [5, 2, 3]) ➞ 4
coinsCombinations(11, [5, 7]) ➞ 0