$1 is a predefined property (also known as special property) which collects the number of conditions used in a query. It is a built-in property that comes with additional administrative privileges but can be used just like any other user-defined property.
MediaWiki:Smw-pa-property-predefined asksi
From AquaPedia Case Study Database