SMS Counter PHP class