Count 'at most', then subtract

'The highest roll is exactly 4' is awkward to count; 'nothing above 4' minus 'nothing above 3' is just two powers.