initialize count lock in kinect plugin