Yes, it's 525 and that sprocket is the same if AFAM Drive Systems is the same as Driven Racing. If you don't have the dealer do the swap, you'll need the tool for adjusting the chain. The slack needs to be measured precisely with the bike on the side stand per the sticker on the swing arm..., or from the manual:
"Tensioning the drive chain
Turn the rear wheel slowly to find the position at which the
chain is at its most taut.
With the motorcycle on its sidestand, press with a finger in
the centre of the bottom run of the chain and measure the
distance between the centres of chain link pins and the
aluminium swingarm. The distance should be within 60 to 62
mm.
Important
Have chain tension adjusted by a Ducati Dealer or
authorised Service Centre.
Warning
Correct tightening of the swingarm screws (1) is
essential to rider and passenger safety.
Important
An incorrectly tensioned chain will lead to accelerated
wear of the transmission components."
Others may comment but make sure there's no slop in the locating plate and maybe a little blue Loctite on the bolts..., but don't over-torque!