Finished v1 of invoices_repository and tests. Fixed minor issues in customer and invoice item repos for the .count method