Improve item count report and logging on layer import. (FS#1363)