Fixed getCount methods