def get_model_record_counts(db_session, models):
    """returns record counts for given models"""
    record_counts = {}
    for model in models:
        record_counts[model.__tablename__] = db_session.query(model).count()
    return record_counts
