abstract count to a module