Bug Fix:  list.count returns native javascript number