added fastchar for counting characters in a fasta