Documer\Storage\Memory::getInverseTotalDocsGroupByLabel PHP Method

getInverseTotalDocsGroupByLabel() public method

Get how many documents there are that does not contain a label grouped by label
    public function getInverseTotalDocsGroupByLabel()
    {
        $docCounts = $this->getTotalDocsGroupByLabel();
        $totalDocs = $this->getTotalDocs();
        $docInverseCounts = array();
        foreach ($docCounts as $key => $item) {
            $docInverseCounts[$key] = $totalDocs - $item;
        }
        return $docInverseCounts;
    }