@maschinenlesbar.org/marktstammdatenregister-cli
    Preparing search index...

    Function countUnits

    • How many units match: the register's exact total for the filter (one one-row request). by counts per code of one dropdown column (one request per code, at most MAX_GROUPS; a filter on that column narrows the codes). sumCapacity reads the matching units in pages of SUM_PAGE_SIZE and sums their capacity (gross and net kW for stromerzeugung), when there are at most maxSumUnits; beyond that the answer says there is no sum, never a guess.

      Parameters

      Returns Promise<UnitCount>