English: Calculate document numbers (slow)
Dutch: Bereken document nummers (langzaam)