No, there is not a limit to the number of stock transactions that can be electronically filed with a tax return.
Additional Information:
Desktop: Form 1099-B - Aggregating Multiple Stock Transactions
ProWeb: Form 1099-B - Aggregating Multiple Stock Transactions