## KernelDB.alias_counts()


Map each SHA-256 to how many filenames it is known under.


Usage

``` python
KernelDB.alias_counts(shas)
```


Used to annotate listings with `(+N aliases)` without a query per row. A count above 1 means the kernel has been deduplicated.


## Parameters


`shas: list[str]`  
Full SHA-256 hex digests.


## Returns


`dict[str, int]`  
Hash to number of known filenames. A hash with no known name is omitted.
