I don't know! Magpies and other crows often seem to gather in larger groups for what I suspect are social reasons. I've seen large groups gathered where one bird is attacked by the others, as if some sort of 'punishment' is going on. I think corvids are pretty complex socially. I know with some corvids, you may also get fairly large groups of immature birds that are not ready to breed.