add open/close count.