Developing a generic count() method for Idiorm/Paris | Hacker News Reader