Move url count logic