count sample