how many inodes on a tmpfs mount

From: Per olof Ljungmark <peo_at_nethead.se>
Date: Fri, 11 Nov 2022 09:22:01 UTC
We ran out of inodes on a 2G md tmpfs mount, can someone please tell  
how I can calculate this number? As I understand it is a function of  
the size of the filesystem, but how to get the figure?

Thanks,
Per