Learning to Count Isomorphisms with Graph Neural Networks