Moving in isEmpty and count into AbstractNodeQueue