I am trying to count how many times a polyline with a specific attribute intersects a polygon in QGIS. For example, I have a polyline with a feature class called "size", this contains a text value i.e. small, medium & large. I have also made a grid of 100m x 100m squares.
I would like to be able to count how many "large" polylines intersect each grid square polygon, and then repeat this for "medium" etc.