Workaround for pad_counts. Closes #2363.