Stav dette: Counting edge-injective homomorphisms and matchings on restricted graph classes