Added threshold counter and threshold cli option