make HashSets countable like an usual php array

http://de2.php.net/manual/de/class.countable.php