Add |= operator. Also add count() and print(stdout) methods.