Let $T$ be a finite first order theory (equivalently a single sentence) in a finite language. It is clear that $\{n\in\mathbb{N}:\exists M, M\models T\land |M|=n\}$ is computable: to see if there is a model of size $n$ just enumerate all structures of size $n$ and check one by one if any of them satisfies $T$. I guess this argument actually gives an upper bound on the time complexity of that set.
Conversely which computable sets can arise in this way? I wonder if given a Turing machine we can find a theory whose (finite) models are exactly "truncations" of the running process of that Turing machine. Maybe this is also related to descriptive finite model theory?