Coding Counts Model (untested)

Next step: testing.
Adding tests for DB accesses

All tests passed.