Groundwork for implementing count
Count implemented