Add support for separate wip counts.
Refactor way we compute the limit.
Merge pull request #140 from trestle-pm/dev/wip_counts