I have just tested, it is your use of numbers.
Try like this and you will find it works
(it would probably be better to use a numbering system like this: Z00001,Z00002,Z00003... so that you can have thousands of entries, and are able to sort alpha-numerically)

(returns 3)
More info on Firebase Arrays

