completed split&count extractor