On the ℓ-adic cohomology of varieties over number fields and its Galois cohomology