LeetCode 2022-08-23 [LeetCode] 1773. Count Items Matching a Rule (Java) Count Items Matching a Rule algorithms