Count platform by unique machines; add support for specifying start and end dates

Fixes #19
Fixes #26