Hitung nomor spesifik dalam array powershell

$countCredit = for($x=$grade.count; $x -gt 50 ; $x++) { $grades[$x] } 
Write-Host "Credits Earned: " $countCredit
Gifted Grivet