Count the Number of Beautiful Subarrays

Given an integer array nums, count non-empty contiguous subarrays whose bitwise XOR is zero. Return the count.

Examples
Input: [[1,2,3,4],2]
Output: 0
Hints

Count the Number of Beautiful Subarrays

Given an integer array `nums`, count non-empty contiguous subarrays whose bitwise XOR is zero. Return the count.