Number of curated and non-curated models

Statement: 
Number of models either curated or not curated according to the parameter introduced $parameter$ (e.g. true if the model is curated or false if the model is non-curated)
Limit of results per page $number$
Query: 
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX sbmlrdf: <http://identifiers.org/biomodels.vocabulary#> PREFIX bqmodel: <http://biomodels.net/model-qualifiers#> SELECT (COUNT(?model) as ?number_model) where{ ?model rdf:type sbmlrdf:SBMLModel . ?model bqmodel:curated ?curated_or_no_curated . filter ( ?curated_or_no_curated = ??parameter) } limit ??number