In how many ways can $9$ cells of a $\text{6-by-6}$ grid be painted black such that no two black cells share a corner or an edge with each other?


Let's think step by step and output the final answer within \boxed{}.
user