Fix count in joehot plugin