Got line miniature counts working