count the number of times each item appears in a string list and return a database record with the items as key properties, and the count of each item as the value of the key