added getCount