Scalable counting networks for Delphi and FreePascal