abstract data types counting bag adt is just like the bag adt but includes the numof(itemoperationwhich returns the number of occurrences of the given item in the bag implement the counting bag adt and defend your selection of data structure the use of the student file reader adt makes it easy to extract student records from text file no matter the format used to store the data implement new version of the adt to extract the data from text file in which each record is stored on separate line and the individual fields are separated by commas for examplethe following illustrates the format of sample file containing three student records johnsmith janeroberts patrickgreen in the we defined and implemented the student file reader adt for extracting student records from an external source we can define and use similar adt for output (adesign student file writer adt that can be used to displayor store to an output devicestudent records contained in studentrecord object (bprovide an implementation of your adt to output the records by displaying them to the terminal in neatly formatted fashion (cprovide an implementation of your adt to output the records to text file using the same format described in the text (ddesign and implement complete program that extracts student records from text filesorts them by either student id or student nameand displays them to the terminal using your adt the choice of sort keys should be extracted from the user we can use time adt to represent the time of dayfor any -hour periodas the number of seconds that have elapsed since midnight given the following list of operationsimplement the time adt timehoursminutesseconds )creates new time instance and initializes it with the given time hour()returns the hour part of the time minutes()returns the minutes part of the time seconds()returns the seconds part of the time numsecondsothertime )returns the number of seconds as positive integer between this time and the othertime isam()determines if this time is ante meridiem or before midday (at or before 'clock noon