If I was to add to a hash table like thos

hadd -m image.1_NUMBER_0_PIXEL_2_0 2_0 $false
hadd -m image.1_NUMBER_0_PIXEL_3_0 3_0 $true
hadd -m image.1_NUMBER_0_PIXEL_1_1 1_1 $false
hadd -m image.1_NUMBER_0_PIXEL_4_1 4_1 $false

How can I then get the total number of hash entries that match table:
..that are set to $true?

in the above case, it should be 1

Last edited by pouncer; 11/05/07 12:28 AM.