Added count() to manager and modelset