Lxc-ls and lxc-top don't show used memory and cpu usage

LXC 4.0.12 from EPEL on Oracle Linux 9.2 shows 0.00MB ram used for all my running containers when using “lxc-ls -f -F RAM”. It’s the same with lxc-top. I see 0 cpu usage also from lxc-top. When I was using LXC 3.0.4 from EPEL on OL 8, it was showing a non-zero amount of memory and cpu usage for each container.