Count Flatten