I have to write a function to count number of pointers to objects of base class and number of pointers to objects of derived class that are stored in array. I already know h