Reworked the sharedCount model