finished split&count extractor