function solution(order) {
return [...('' + order).split('')].reduce((count, num) => (+num === 3 || +num === 6 || +num === 9) ? count+=1 : count, 0)
}
function solution(order) {
return [...('' + order)].filter(num => num === '3' || num === '6' || num === '9').length;
}