Moving the fields counter into kodo