One for Sorrow
Two for Joy
Three for a Girl
Four for a Boy
We don't have Magpie's here in Illinois, but I spotted ONE when in England and my husband yelled "look away", then he told me the rhyme. Every subsequent viewing of the species for me has been a solitary critter ... which apparently is rare as they usually travel in pairs.
Anyway ... husband said if they are eating your fruits you can spray the fruit with Capsicum and they'll stop. As for getting them to leave the area in general ... good luck. They fear very little apparently.