I was harvesting a lot of grapes yesterday, and noticed that doing so was bypassing my character's weight limit; even well over my maximum total weight, I was still able to continue harvesting for as long as I wanted. It does seem to check for inventory item count, just not weight.
Not sure if the same applies to trellises.