add size() to Proxy