Total number of routed IPv4 and IPv6 addresses

I’m running VyOS 1.2x and wondering what command I can run to show total number of IPv4/IPv6 routes and subnets.

In other words, how many total subnets (of any size) of IPv4 and IPv6 too, are routed and more importantly, how many total IPv4 addresses and IPv6 addresses are routed. Couldn’t find this info in the documentation.

There is a command fot summary statistics

show ip route summary
show ipv6 route summary