Fix some bugs with the 'count' signal not being emitted.
Fix some bugs with the 'count' signal not being emitted.

I incorrectly assumed that resetting the model would trigger the signals
that indicate the number of rows had changed.

Cutehacks/gel