How many ways can some squares of a 3x3 grid be shaded such that each row and column contains exactly 2 shaded squares?