calculate mRNA length from gff3 file