My problem is very easy to understand but I can't find a solution.
I'm actually working on the spreading of a local optic fibre network. These fibres will be contained in plastic tubes buried in trenches. I need to know how many tubes we should bury in each trench.
In GIS words : I make a buffer from the polyline shapefile "trenches", and I need to know how many polylines from the "tubes" shapefile cross (all the lines starts and ends out of the buffers) this buffer, then create a new shapefile with a column containing this count.
I though that there was a geoprocessing tool which could do it just like the "count points in polygon" geoprocessing tool. But it doesn't exist in QGIS Version 2.14.13.
So, I'm looking for a similar method that could be integrated in a graphical modeller, as a one-click operation (because I'll have to do it several times, and so will do my colleagues).