statistics module for elm