Computes the length of an ORF in bases, including the stop codon. However, if
aa = TRUE
, then the length is in amino acids after translation. This aa-length is the
base-length divided by 3 and minus 1, unless the ORF is truncated and lacks a stop codon.