wmde/WikibaseDataModel — pull request #238 by thiemowmde (2014-10-13 16:04:26+00:00)
Title: Avoid using count() if not really needed

Count is an expensive operation. See http://maettig.com/code/php/php-performance-benchmarks.php.