Creating test polygons and then working with Spatial Join Geoprocessing tool. Count of lines inside each polygon.