Licz liczba konkretna w tablicy PowerShell

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