Types/OpenPackage/get_Count.ps1

<#
.SYNOPSIS
    Gets the package files count
.DESCRIPTION
    Gets the number of files in a package.
#>

return @($this.GetParts()).Length