Consider some finite set $S$ (can be matrices over $F_p$), consider some symmetric relation $F(s1,s2)$ which values are True or False (for example - matrices (anti)commutate or not).
Question 1: can the count of n-tuples $(s1,s2,...,s_n): \forall i,j: F(s_i,s_j)=True$ be expressed somehow in terms of $F$ ?
Question 2: Is the generating function over $n$ always rational ? (Motivated by Peter Taylor's finding here for 2x2 anti-commuting matrices.) Or some other types of recurrent relations over $n$ might be true ?
Generalizations: one may ask similar question for k-plet relations $F(s_1,s_2,...,s_k)$, also to cover q-commuting case it would be desirable to relax symmetricity constraint.
Hopefully the answer may help to explain patterns observed in : MO commuting/Manin tuples, MO anti-commuting tuples, which are all particular cases of Manin matrix counting question.