Biotype counting works, first plot works. Some optimisiations in pipeline.py