Add naive implementation of __.size
__.size now accepts objects as well