@Override
    public boolean equals(final Object obj) {
        if (this == obj) {
            return true;
        }
        if (obj == null) {
            return false;
        }
        if (getClass() != obj.getClass()) {
            return false;
        }
        final TimeAgnosticStatisticEvent other = (TimeAgnosticStatisticEvent) obj;
        if (count == null) {
            if (other.count != null) {
                return false;
            }
        } else if (!count.equals(other.count)) {
            return false;
        }
        if (name == null) {
            if (other.name != null) {
                return false;
            }
        } else if (!name.equals(other.name)) {
            return false;
        }
        if (statisticType != other.statisticType) {
            return false;
        }
        if (tagList == null) {
            if (other.tagList != null) {
                return false;
            }
        } else if (!tagList.equals(other.tagList)) {
            return false;
        }
        if (value == null) {
            return other.value == null;
        } else {
            return value.equals(other.value);
        }
    }
@param tagName The name of the tag in a {@link StatisticTag} object
@return The position of the tag in the tag list (0 based)
stroom-statistics/stroom-statistics-impl-sql/src/main/java/stroom/statistics/impl/sql/TimeAgnosticStatisticEvent.java