adding counts for info and debug purposes to connections and reconnections