Support for len() for a ProductSet

Can this be done more efficiently?