Add Count measure which uses the filter

The Count measure uses the filter functionality to filter logs and then does count(*)