NUMBER COUNT

This tutorial is specific to our newest product, Hudl Sportscode. If you’re on Sportscode v11, use these resources instead or upgrade today.

Use this script to count valid number labels.

FORMAT: NUMBER COUNT (instances) or NUMBER COUNT (instances, group_name)


DEFINITIONS:

  • Instances: Instances that are to be count­ed for labels con­tain­ing num­bers.
  • Group Name: Only labels with this group name will be counted.

EXAMPLE 1

show NUMBER COUNT (instances)

Shows the number of labels with a valid number.

EXAMPLE 2

$var = instances where row = "Test Row 1"
show number count ($var)

Shows how many labels with a valid number are in the row "Test Row 1".