Consider this definition for the probability that a given document $d$ contains a term $t$ as the relative document frequency:
$$P(t|D)={\frac {|\{d\in D:t\in d\}|}{N}}$$
What does $:$ mean in the numerator here? (i.e. how do you read that expression?), is it "and"? If so, is that equivalent to e.g. a comma?
In set builder notation the colon is often read as "such that" or "where". It is somewhat
So, as explained on the wiki page, $\lvert\{d\in D: t\in d\}\rvert$ is "the size of the set of documents ($d$) in the corpus ($D$) where the term ($t$) occurs in the document".
Likewise, $N$ is the size of the corpus: $N\,{=\lvert D\rvert\\=\lvert\{d\in D\}\rvert}$.
So $\mathsf P(t\mid D)$ is an abbreviation for $\mathsf P(\{d\in D:t\in d\}\mid D)$, and since the set is a subset of the corpus, $$\begin{align}\mathsf P(t\mid D)~&=~\dfrac{\lvert\{d\in D:t\in d\}\cap D \rvert}{\lvert D\rvert}\\&=~\dfrac{\lvert\{d\in D:t\in d\}\rvert}{N}\end{align}$$