+#include <climits>
 #include <fstream>
 #include <iostream>
-#include <stdio.h>
 #include <string>
 #include <vector>
 

        aggregates.I_I_1 += outputs[i].I_I_1;
    }

    GRAPHLET_COUNTS counts = {0};

    counts.g31 = aggregates.g31 / 3;
    counts.g32 = aggregates.g32 / 2;
    counts.g33 = aggregates.g33;

    counts.g44 = aggregates.g44 / 4;
    counts.g45 = (aggregates.S_S - counts.g43) / 3;
    counts.g46 = aggregates.Su_Sv - 4 * counts.g44;

    counts.g47 = (aggregates.T_I - counts.g43) / 3;
    counts.g48 = (aggregates.SuVSv_I - 2 * counts.g46) / 2;
    counts.g49 = (aggregates.I_I_1 - (6 * counts.g41) - (4 * counts.g42) - (2 * counts.g43) - (4 * counts.g44) - (2 * counts.g46)) / 2;
