PHP-1249: MongoCursor::count() should use cursor's socket timeout
Merge pull request #746