-- Database schema
| Classification : GeneID [ TEXT ] primary_key , Localization [ TEXT ] | Genes : GeneID [ TEXT ] Genes.GeneID = Classification.GeneID , Essential [ TEXT ] , Class [ TEXT ] , Complex [ TEXT ] , Phenotype [ TEXT ] , Motif [ TEXT ] , Chromosome [ INTEGER ] , Function [ TEXT ] , Localization [ TEXT ] | Interactions : GeneID1 [ TEXT ] Interactions.GeneID1 = Classification.GeneID , GeneID2 [ TEXT ] Interactions.GeneID2 = Classification.GeneID , Type [ TEXT ] , Expression_Corr [ REAL ] |
-- -- Among the pairs of genes that are not from the class of motorproteins, how many of them are negatively correlated?

SELECT COUNT(T1.GeneID) FROM Genes AS T1 INNER JOIN Interactions AS T2 ON T1.GeneID = T2.GeneID1 WHERE T2.Expression_Corr < 0 AND T1.Class = 'Motorproteins';