Creates a new Count<TEntity, TDao, TDataContext> instance.