On ranking 1-way finitely ambiguous NL languages and #P1-complete census functions