eth_getBlocksValidated JSON-RPC method

I’ve been thinking about a new JSON-RPC method, and was wondering if it would make sense to have for after the Merge.

This new JSON-RPC method, eth_getBlocksValidated, would function similar to eth_getBalance; you pass the client a hex-encoded validator pubkey, and eth_getBlocksValidated would return the number of blocks the specified pubkey has validated as an integer or string.