Sure will be nice to writte a specific function for that and I’m interested into have it too but for now done with counters/Trigger & delays and asuming processing time is 0…
[{"id":"642e2d2f.16a604","type":"inject","z":"3a79879.af7b678","name":"","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":120,"y":1200,"wires":[["3af7b2ae.7ee80e"]]},{"id":"d30f2765.3dfb78","type":"trigger","z":"3a79879.af7b678","op1":"1","op2":"0","op1type":"num","op2type":"num","duration":"43","extend":false,"units":"ms","reset":"","bytopic":"all","name":"","x":470,"y":1200,"wires":[["e16770ea.03aec","423aace1.bf7eb4"]]},{"id":"b9ab097d.581118","type":"counter","z":"3a79879.af7b678","name":"","init":0,"step":1,"lower":"","upper":"6","mode":"increment","outputs":"1","x":600,"y":1260,"wires":[["38c501bb.bef7de"]]},{"id":"805089b.ccb5a78","type":"switch","z":"3a79879.af7b678","name":"","property":"count","propertyType":"msg","rules":[{"t":"lt","v":"5","vt":"num"},{"t":"eq","v":"5","vt":"num"}],"checkall":"true","repair":false,"outputs":2,"x":850,"y":1260,"wires":[["d30f2765.3dfb78"],["65a46e07.2fe5d","41c53066.9d90a"]]},{"id":"41c53066.9d90a","type":"delay","z":"3a79879.af7b678","name":"","pauseType":"delay","timeout":"125","timeoutUnits":"milliseconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"x":1130,"y":1260,"wires":[["8f7d5f7d.2360d"]]},{"id":"e16770ea.03aec","type":"function","z":"3a79879.af7b678","name":"","func":"\nreturn msg;","outputs":1,"noerr":0,"x":1510,"y":1200,"wires":[["cb662411.dc6d58"]]},{"id":"cb662411.dc6d58","type":"debug","z":"3a79879.af7b678","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","x":1690,"y":1200,"wires":[]},{"id":"3af7b2ae.7ee80e","type":"delay","z":"3a79879.af7b678","name":"","pauseType":"rate","timeout":"5","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":true,"x":290,"y":1200,"wires":[["d30f2765.3dfb78"]]},{"id":"38c501bb.bef7de","type":"switch","z":"3a79879.af7b678","name":"","property":"count","propertyType":"msg","rules":[{"t":"gt","v":"0","vt":"num"}],"checkall":"true","repair":false,"outputs":1,"x":730,"y":1260,"wires":[["805089b.ccb5a78"]]},{"id":"5060b494.0b290c","type":"inject","z":"3a79879.af7b678","name":"","topic":"","payload":"0","payloadType":"num","repeat":"","crontab":"","once":true,"onceDelay":0.1,"x":510,"y":1420,"wires":[["65a46e07.2fe5d","806a9b9a.1bb078"]]},{"id":"423aace1.bf7eb4","type":"switch","z":"3a79879.af7b678","name":"","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"1","vt":"num"}],"checkall":"true","repair":false,"outputs":1,"x":110,"y":1260,"wires":[["2d49c592.4b96aa"]]},{"id":"65a46e07.2fe5d","type":"function","z":"3a79879.af7b678","name":"reset","func":"msg.reset = true;\nmsg.payload = 0;\nreturn msg;","outputs":1,"noerr":0,"x":650,"y":1340,"wires":[["b9ab097d.581118"]]},{"id":"3ea89b52.34acd4","type":"function","z":"3a79879.af7b678","name":"increment value","func":"msg.increment = 1;\nreturn msg;","outputs":1,"noerr":0,"x":420,"y":1260,"wires":[["b9ab097d.581118"]]},{"id":"2d49c592.4b96aa","type":"delay","z":"3a79879.af7b678","name":"","pauseType":"delay","timeout":"43","timeoutUnits":"milliseconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"x":250,"y":1260,"wires":[["3ea89b52.34acd4"]]},{"id":"8f7d5f7d.2360d","type":"trigger","z":"3a79879.af7b678","op1":"1","op2":"0","op1type":"num","op2type":"num","duration":"43","extend":false,"units":"ms","reset":"","bytopic":"all","name":"","x":1350,"y":1260,"wires":[["ce4e86e4.cb8a88","e16770ea.03aec"]]},{"id":"ce4e86e4.cb8a88","type":"switch","z":"3a79879.af7b678","name":"","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"1","vt":"num"}],"checkall":"true","repair":false,"outputs":1,"x":910,"y":1340,"wires":[["63d254f4.a2984c"]]},{"id":"63d254f4.a2984c","type":"delay","z":"3a79879.af7b678","name":"","pauseType":"delay","timeout":"43","timeoutUnits":"milliseconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"x":1050,"y":1340,"wires":[["52cb3c7d.decd64"]]},{"id":"52cb3c7d.decd64","type":"function","z":"3a79879.af7b678","name":"increment value","func":"msg.increment = 1;\nreturn msg;","outputs":1,"noerr":0,"x":1220,"y":1340,"wires":[["c45c6db0.af1d1"]]},{"id":"c45c6db0.af1d1","type":"counter","z":"3a79879.af7b678","name":"","init":0,"step":1,"lower":"","upper":"14","mode":"increment","outputs":"1","x":1380,"y":1340,"wires":[["ea5258f8.3ebe38"]]},{"id":"ea5258f8.3ebe38","type":"switch","z":"3a79879.af7b678","name":"","property":"count","propertyType":"msg","rules":[{"t":"gt","v":"0","vt":"num"}],"checkall":"true","repair":false,"outputs":1,"x":1510,"y":1340,"wires":[["b60978a6.db2cc8"]]},{"id":"b60978a6.db2cc8","type":"switch","z":"3a79879.af7b678","name":"","property":"count","propertyType":"msg","rules":[{"t":"lt","v":"14","vt":"num"},{"t":"eq","v":"14","vt":"num"}],"checkall":"true","repair":false,"outputs":2,"x":1650,"y":1340,"wires":[["8f7d5f7d.2360d"],["806a9b9a.1bb078"]]},{"id":"806a9b9a.1bb078","type":"function","z":"3a79879.af7b678","name":"reset","func":"msg.reset = true;\nmsg.payload = 0;\nreturn msg;","outputs":1,"noerr":0,"x":1490,"y":1420,"wires":[["c45c6db0.af1d1"]]}]
Try and see if it works, for me seems ok