added __repr__ method to database which outputs numbers of objects