sharing and updating share count