Pre and Post Counting for Scalable Statistical-Relational Model Discovery