Counting points of fixed degree and bounded height on linear varieties