add connection counter