I want to know how many times I got a specific number when I rolled the dice. The game I play is when I use d6 dice and the number below the target is valid. If you get 1, you'll get an additional point for every number you get. For example If it's 5d6s <4 [1,1,3,4,6] 1, 1, 3, and 4 are successful dice, and two dice with 1 are given an additional damage each, so the total damage should be 6. I looked up the explosion dice, but I think it's a little different because it's not rolling the dice again, but adding one point of damage unconditionally. Is there a way to count only the specific values of the dice through api?