def count_of_wells(self):
        """Number of wells in x/y-direction of template.

        Returns
        -------
        tuple
            (xs, ys) number of wells in x and y direction.
        """
        xs = set([w.attrib['WellX'] for w in self.wells])
        ys = set([w.attrib['WellY'] for w in self.wells])
        return (len(xs), len(ys))