add kdcount and split files