added desktop client count increments and decrements in client_to_desktop