Simple counting bloom filters in python and javascript