Write your own and do a CALL. Debounce (and SCale with Parameters) is typically some of the first boxes I write on platforms that let you roll your own. S7 for some reason, is missing statistical functions. Mean, median, standard deviation and so on. There's probably an add on library somewhere that has it, but on a platform that lets you write your own, doing so is probably quicker and easier than finding it, plus it's done exactly the way you want it.