Added GetEntitySize Rest Api which returns the size of entities