LDB:common - Change counters to "unsigned" where appropriate