According to the documentation here (found here), assuming you are looking for a project account for user id 1234 and believe that your Project model inherits the MetaMapper trait (possibly via KeyedMetaMapper), it seems that you can use the count method as such:
Project.count(By(User.id, 1234))
or
Project.count(BySql("userId = ?", 1234))
I can’t check, because I have not used Lift yet, but it looks right ... :) Let me know if it works!
source
share