public int getCodeSectionCount() {
    return codeSections == null ? 0 : codeSections.length;
  }
Get code section count.

@return the code section count
evm/src/main/java/org/hyperledger/besu/evm/code/EOFLayout.java