I found this viewtopic.php?f=193&t=39869 but couldn't quite understand it and I hate just rebuilding other peoples creations without understanding them.
Also I found this viewtopic.php?f=193&t=28414 but without more details I wouldn't know if I really needed a circulating belt which I don't want to have. How to put in a counter?
So here is what I came up with (at first I used a requester chest instead of smart inserters to request the Items I need, but I don't like all the rebotos flying around, so I switched to the inserters). I'm pretty sure the design can be build more compactly and maybe properly, because I set the recipe with double amount (otherwise the whole creation may stop when the inserters grab the exact right amount).
just a screenshot:

combinators roughly explained:

Sorry for not posting a blueprint string; I don't have the mod installed.