[CentOS] how to find out the number of updates for a system

Wed May 22 13:42:53 UTC 2019
Ralf Prengel <ralf.prengel at rprengel.de>

Hallo,
I need the information how many updates are available for a system.
What is the best way to find it out in a one line bash script.

Von meinem iPad gesendet