def _get_norb_nel(oe):
    """Return number of orbitals and electrons.

    Parameters
    ----------
    oe : list
         The orbital occupation numbers and energies read with
         ``_read_cp2k_occupations_energies``.
    """
    norb = 0
    nel = 0
    for row in oe:
        norb += 2 * row[0] + 1
        nel += row[2]
    return norb, nel
