Shared counting using software combining