Consider a set $T$ of square matrices over finite field $\mathbb{F_p}$. Clearly the cardinality of the set $T$ is $p^{n^2}$ where the square matrices are of size $n$.
Question is: How many non-similar ($A=P^{-1}.B.P$ for some $P$ $\in$ $T$) matrices we would have?
Next, suppose there are two matrices $A$ and $B$ such that their minimal polynomial is same $f$ (say). Question is: Are $A$ and $B$ similar matrices?