def get_phage_table_count(engine):
    """Get the current number of genomes in the database.

    :param engine: SQLAlchemy Engine object able to connect to a MySQL database.
    :type engine: Engine
    :returns: Number of rows from the phage table.
    :rtype: int
    """
    query = 'SELECT COUNT(*) FROM phage'
    result_list = engine.execute(query).fetchall()
    count = result_list[0][0]
    return count
