def count_lines(fasta_file):
	"""
        Counts number of lines in a fasta file
        :param (str) filename: FASTA file
        :return (int): number of lines in file
        """
	return sum(1 for line in open(fasta_file))