function countByimport { countBy } from "https://deno.land/x/rambda@v8.6.0/files/index.d.ts"; countBy<T extends unknown>(transformFn: (x: T) => any, list: T[]): Record<string, number>countBy<T extends unknown>(transformFn: (x: T) => any): (list: T[]) => Record<string, number>Type ParametersT extends unknownParameterstransformFn: (x: T) => anylist: T[]ReturnsRecord<string, number>Type ParametersT extends unknownParameterstransformFn: (x: T) => anyReturns(list: T[]) => Record<string, number>