The integral form of the continuity equation is written as:
$$\frac{dq}{dt} + \oint_{S} \textbf{j} . d\textbf{S} = \Sigma$$
where $q$ is the amount of quantity in a certain volume $V$, $t$ is the time, $j$ is the flux of $q$ per unit surface and per unit area, $S$ is the surface, $\oint_{S}$ is the closed intergral over the surface of the volume $V$, and $\Sigma$ is the sources/sinks of $q$.
Now an example was given from the same source, to give an intuitive explanation, which included the surface integral along with sinks and sources, but it didn't include time derivative, so I'm curious to know how would the quantity (number of people) in the case of the following example would change with respect to time alone; the example is:
In a simple example, V could be a building, and q could be the number of people in the building. The surface S would consist of the walls, doors, roof, and foundation of the building. Then the continuity equation states that the number of people in the building increases when people enter the building (an inward flux through the surface), decreases when people exit the building (an outward flux through the surface), increases when someone in the building gives birth (a source, Σ > 0), and decreases when someone in the building dies (a sink, Σ < 0).