comment length stats generating code