Function to see how many plugins on a site need updating

I manage a lot of WordPress websites and want to create a system that allows me to check how many plugins on a given site need updating.

So basically what I need is a custom function that returns the number of plugins that are out of date and need updating. I have searched the developer documentation but cannot find a specific function that does this.

Thanks in advance!

Solutions Collecting From Web of "Function to see how many plugins on a site need updating"