Hello @tsener,
The simplest way is with the "Get-NcLun" or "Get-NaLun" cmdlets.
# clustered Data ONTAP
(Get-NcLun -Volume $volumeName).count
# 7-mode
(Get-NaLun | ?{ $_.Path -match $volumeName }).count
Hope that helps.
Andrew
If this post resolved your issue, please help others by selecting ACCEPT AS SOLUTION or adding a KUDO.