I am trying to create a function that returns the amount of times a specific account id has created a "borrow" record. the code I currently have looks like this,