Count dirty blocks in L2 cache.