def n_lfom_orifices_per_row_max(FLOW,HL_LFOM,drill_bits):
    """A bound on the number of orifices allowed in each row.
    The distance between consecutive orifices must be enough to retain
    structural integrity of the pipe.
    """
    return math.floor(math.pi * (pipe.ID_SDR(
        nom_diam_lfom_pipe(FLOW, HL_LFOM), design.lfom.SDR_LFOM).magnitude)
                      / (orifice_diameter(FLOW, HL_LFOM, drill_bits).magnitude +
                         aguaclara.design.lfom.ORIFICE_S.magnitude))
A bound on the number of orifices allowed in each row.
    The distance between consecutive orifices must be enough to retain
    structural integrity of the pipe.