[FIX] Fixed indices document counts when using elasticsearch 0.90.0