Is this not the correct way to do it?
$ sudo nvme get-feature /dev/nvme0 -f 7
get-feature:0x7 (Number of Queues), Current value:0x7f007f $ sudo nvme get-feature /dev/nvme0 -f 7
get-feature:0x7 (Number of Queues), Current value:0x7f007f