Centralize number of lines to display in DataKind.

The number of lines to display for different types of data is
currently specified in the view code.  Instead, change this to
specify the values in DataKind, so that they can be used
elsewhere.

Bug: 5274415

Change-Id: If10cb680877f9b247620929f5cdf64ad8d9ffd85
3 files changed