added href counter and recursive href counter