retrieving count