An unramified Hermitian representation-density formula
Let $(R,\sigma,\varpi,q,\varepsilon)$ satisfy the ring conditions below. Let $0\le n\le m$ and let $S\in M_m(R)$ and $T\in M_n(R)$ be $\sigma$-Hermitian with unit determinants. Put $R_k=R/(\varpi^k)$, and write $X^*=\sigma(X)^t$. Let $N_k$ be the number of matrices $X\in M_{m,n}(R_k)$ satisfying $X^*SX=T$, and let $H_k$ be the image in $M_n(R_k)$ of the $\sigma$-Hermitian matrices over $R$. Then $$\lim_{k\to\infty}\frac{N_k\,|H_k|}{|M_{m,n}(R_k)|}=\prod_{i=0}^{n-1}\left(1-\left(\frac{\varepsilon}{q}\right)^{m-i}\right).$$
The ring conditions are: $R$ is commutative; $\sigma:R\to R$ is an involutive ring homomorphism fixing $\varpi$; multiplication by $\varpi$ is injective and $\varpi$ is not a unit; $\bigcap_{k\ge0}(\varpi^k)=0$; and every sequence with $a_{k+1}-a_k\in(\varpi^k)$ has $a\in R$ with $a-a_k\in(\varpi^k)$ for every $k$. Every $\sigma$-fixed element outside $(\varpi)$ is a unit. There is $u\in R$ with $u-\sigma(u)$ a unit such that every $a\in R$ is $x+yu$ with $\sigma(x)=x$ and $\sigma(y)=y$. Finally $q\ge2$, $|R/(\varpi)|=q^2$, and either $\varepsilon=-1$ and $R/(\varpi)$ is a field, or $\varepsilon=1$ and it is not a field.