Revert "ugly hack to get bulk size"

This reverts commit 012b87f5ff69d607974a0514b7e1aafa01f642f9.
Add BulkDescriptorProxy

Instead of the ugly hack I use the BulkIndexProxy.