Network.n_failed_infos = column_property(
    select(func.count(Info.id))
    .where(
        Info.network_id == Network.id,
        Info.failed,