Cannot group number of running pods by namespaces using google cloud managed service for Kubernetes

I have my own GKE cluster in my GCP. I followed the instructions given in this link to setup the managed services for prometheus for monitoring purposes. I found that the number of pods running can be found using 'kubelet_running_pods' metric. But, the results are grouped as nodes. I need to know the number of running pods in a namespace, or deployment. Is there a way where I can do that? and promQL queries?

How many English words
do you know?
Test your English vocabulary size, and measure
how many words do you know
Online Test
Powered by Examplum