Types/Language.Functions/get_Count.ps1

<#
.SYNOPSIS
    Gets the number of language functions
.DESCRIPTION
    Gets the number of functions explicitly related to a language defined in PipeScript.
#>

@(foreach ($psProperty in $this.PSObject.properties) {
    if ($psProperty -isnot [psnoteproperty]) { continue  }    
    if ($psProperty.Value -isnot [Management.Automation.CommandInfo]) { continue }
    $psProperty.Value
}).Length