I'm trying to determine the number of $k$-dimensional affine subspaces of a $n$-dimensional affine space ($k \leq n$) $X$ over $\mathbb{F}_q$, where $q$ is the power of a prime number.
Let $V$ be the underlying $n$-dimensional vector space over $\mathbb{F}_q$ of $X$. I already have the number of $k$-dimensional subspaces of $V$:
$\frac{(q^n-1)(q^n-q)...(q^n-q^{k-1})}{(q^k-1)(q^k-q)...(q^k-q^{k-1})}$
My first thought was to multiply this by $q^k$, since there are $q^k$ points in a $k$-dimensional affine subspace and every $k$-dimensional affine subspace $S$ of $X$ can be written as: $S=a+T$, where $a \in S$ and $T$ is a $k$-dimensional subspace of $V$. Is this correct?