Thanksgiving Sale: Use Coupon Code THANKS25 to Get Extra 25% Off.
device_counts to store the count of security devices for each row that has at least one device.bank array.
device_counts if it is greater than zero.total_beams to 0, which will store the total number of laser beams.device_counts list.
total_beams.total_beams as the final result.