added getCount() function