I have the greatest respect for the anydice.com website by Jasper Flick. So cool!
Recently, @vdonnut@dice.camp wondered about a dice pool roll where a result of 5 or 6 on a six-sided die is a success.
The answer:
function: ROLL:s count fives and above { result: (ROLL >= 5) } loop N over {1..10} { output [Nd6 count fives and above] named "successes for [N] dice" }
#RPG
loop N over {1..10} { output [count {5..6} in Nd6] named "successes for [N] dice" }
Nice!