set bag to contain only those objects whose count is zero

baginitialization(&bag,*pn,count);