add option --dir in assembly.preprocess.count()