export declare function count<E>(array?: E[] | readonly E[] | null, predicate?: (value: E, index: number) => boolean): number;
