Count is a property on arrays
PS> $x = 1..10
PS> $x.Count
10
The same information is available through Length (which is the property in the System.Array class definition)
PS> $x.Length
10
If the variable is a scalar you get 1 returned … Read the full text.