According to the source, the statewide total for Andrew H. Dill is 297,060, but the sum of the reported county totals is 297,061. This report uses the later figure.
Smull's Legislative Handbook shows a statewide total for Franklin H. Lane of 3653, but without a county breakdown. The county breakdown in this report have been taken from the American Almanac for 1880, which reported a statewide total of 3759.
Source for Popular Vote data: General Assembly of Pennsylvania. Smull's Legislative Handbook, General Assembly of Pennsylvania (http://staffweb.wilkes.edu/harold.cox/gov/PaGov1878.html) (accessed 12 Sep 2016)