   [item]
   (update-in item [:action] name))
 
-(defn- polarize-item-amount
+(defn polarize-item-amount
   [item account]
   (assoc item :polarized-amount (accounts/polarize-amount item account)))
 

         (select-transactions-by-entity-id s entity-id parsed-options)
         (map prepare-for-return)
         (map #(append-items s %)))))))

(defn count-by-entity-id
  "Returns the number of transactions that belong to the specified entity"

                                              select-transaction-items-by-account-id-and-starting-index
                                              select-transaction-items-by-account-id-on-or-after-date
                                              select-transaction-items-by-transaction-id
                                              select-transaction-items-by-reconciliation-id
                                              update-transaction-item
                                              update-transaction-item-index-and-balance
                                              delete-transaction
